NDepend.API Documentation
EqualsAny<T>(T,T[]) Method
NDepend.Helpers Namespace > ExtensionMethodsMisc Class > EqualsAny Method : EqualsAny<T>(T,T[]) Method
The generic parameter value type of items.
this items.
An array of items.
Returns true if this item equals any item in items.
Syntax
[Extension()]
public static bool EqualsAny<T>( 
   T item,
   params T[] items
)
where T: new(), struct

Parameters

item
this items.
items
An array of items.

Type Parameters

T
The generic parameter value type of items.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsMisc Class
ExtensionMethodsMisc Members
Overload List